import { createContext } from 'react';
import { MenuRoute } from '@/router/types';

type Props = {
  memuList: MenuRoute,
  reload?: (skip?: boolean) => void,
}

export const MenuContext = createContext<Props>({ memuList: { path: '/', routes: [] } }); 
